package com.onLineCar.job.feign;

import com.onLineCar.common.core.domain.Result;
import com.onLineCar.vehicle.entity.TblOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * 远程调用
 * @author 李新科
 */
@FeignClient("onLineCar-vehice")
public interface OpeignFeign {
    /**
     * @description:查询所有的已结束订单以及已取消订单
     * @author: Lxk
     * @date: 2023/12/18 18:42
     * @param: []
     * @return: com.onLineCar.common.core.domain.Result<java.util.List<com.onLineCar.vehicle.entity.TblOrder>>
     **/
    @GetMapping("/tbl-order/selectAllCloseOrder")
    public Result<List<TblOrder>> selectAllCloseOrder();
}
